home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / prof / sun3.md / md.mk < prev    next >
Text File  |  1991-07-02  |  2KB  |  41 lines

  1. #
  2. # Prototype Makefile for machine-dependent directories.
  3. #
  4. # A file of this form resides in each ".md" subdirectory of a
  5. # command.  Its name is typically "md.mk".  During makes in the
  6. # parent directory, this file (or a similar file in a sibling
  7. # subdirectory) is included to define machine-specific things
  8. # such as additional source and object files.
  9. #
  10. # This Makefile is automatically generated.
  11. # DO NOT EDIT IT OR YOU MAY LOSE YOUR CHANGES.
  12. #
  13. # Generated from /sprite/lib/mkmf/Makefile.md
  14. # Tue Jul  2 14:01:05 PDT 1991
  15. #
  16. # For more information, refer to the mkmf manual page.
  17. #
  18. # $Header: /sprite/lib/mkmf/RCS/Makefile.md,v 1.6 90/03/12 23:28:42 jhh Exp $
  19. #
  20. # Allow mkmf
  21.  
  22. SRCS        = sun3.md/_mcount.c sun3.md/profStack.s sun3.md/profSubr.c profMigrate.c profProfil.c
  23. HDRS        = sun3.md/profInt.h sun3.md/timer.h prof.h
  24. MDPUBHDRS    = 
  25. OBJS        = sun3.md/_mcount.o sun3.md/profMigrate.o sun3.md/profProfil.o sun3.md/profStack.o sun3.md/profSubr.o
  26. CLEANOBJS    = sun3.md/_mcount.o sun3.md/profStack.o sun3.md/profSubr.o sun3.md/profMigrate.o sun3.md/profProfil.o
  27. INSTFILES    = sun3.md/md.mk sun3.md/md.mk.sed sun3.md/dependencies.mk Makefile local.mk tags TAGS
  28. SACREDOBJS    = 
  29.  
  30. #
  31. # Special massaging of _mcount.c needed to create non-profiled .po file
  32. # and .o file with _mcount renamed to the mcount everyone expects
  33. #
  34. $(TM).md/_mcount.po    : $(TM).md/_mcount.o .NOTMAIN
  35.     $(CP) $(TM).md/_mcount.o $(TM).md/_mcount.po
  36. $(TM).md/_mcount.o    : .NOTMAIN
  37.     $(CC) $(CFLAGS) -S $(.IMPSRC)
  38.     $(SED) -e s/_mcount/mcount/g < _mcount.s > $(TM).md/_mcount.s
  39.     $(AS) $(AFLAGS) -o $(.TARGET) $(TM).md/_mcount.s
  40.     $(RM) -f _mcount.s $(TM).md/_mcount.s
  41.